<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link th:href="@{/css/dashboard.css}" rel="stylesheet">
</head>
<body>
<script type="text/javascript" th:src="@{/js/jquery-3.6.0.js}"></script>
<div th:replace="~{commons/commons::topbar}"></div>

<div class="container-fluid">
  <div class="row">
    <div th:replace="~{commons/commons::sidebar(active='order.html')}"></div>

    <main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
      <div class="table-responsive">
        <table class="table table-striped table-sm">
          <thead>
          <tr>
            <th>项目</th>
            <th>场地</th>
            <th>用户</th>
            <th>电话</th>
            <th>生成订单时间</th>
            <th>订单状态</th>
            <th>预定时间</th>
            <th>审核</th>
            <th>订单号</th>
          </tr>
          </thead>
          <tbody>
          <tr th:each="order:${orders}">
            <td  id="orderProject" th:text="${order.getOrderProject()}"></td>
            <td id="orderPlace" th:text="${order.getOrderPlace()}"></td>
            <td id="orderMan" th:text="${order.getOrderMan()}"></td>
            <td id="orderTel" th:text="${order.getOrderTel()}"></td>
            <td id="orderTime" th:text="${#dates.format(order.getOrderTime(),'yyyy/MM/dd HH:mm')}"></td>
            <td id="orderStatus" th:text="${order.getOrderStatus()}"></td>
            <td id="orderBookTime" th:text="${#dates.format(order.getOrderBookTime(),'yyyy/MM/dd HH:mm')}"></td>
            <td id="orderAuthority" th:text="${order.getOrderAuthority()}"></td>
            <td id="orderId" th:text="${order.getOrderId()}"></td>

            <td>

              <!--										<a class="btn btn-sm btn-primary" th:href="@{|/updatePlace/${Place.getPlaceId()}|}" >编辑</a>-->
              <!--										<a class="btn btn-sm btn-danger" th:onclick="'javascript:del('+${emp.getEmployeeId()}+');'">删除</a>-->
            </td>
          </tr>
          </tbody>
        </table>
      </div>
    </main>
  </div>
</div>




</body>
</html>